package com.ming.base.authority.service;

import java.util.Set;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.ming.base.authority.dao.RoleDao;
import com.ming.core.exception.BaseException;

/**
 * @author chenhuaming
 * @Time：2017年2月22日 下午5:03:04
 * @version 1.0
 */
@Service("roleService")
public class RoleService implements IRoleService {
	@Resource(name="roleDao")
	private RoleDao roleDao;
	@Override
	public Set<String> getRoles(String loginAccount) throws BaseException {
		return roleDao.getRoles(loginAccount);
	}

}
